package com.bbm.bbmanage.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.bbm.bbmanage.entity.Comment;
import com.bbm.bbmanage.entity.vo.ResponseResult;


/**
 * (Comment)表服务接口
 *
 * @author lionkliu
 * @since 2023-12-07 14:30:00
 */
public interface CommentService extends IService<Comment> {
    ResponseResult selectPage(Integer pageNum, Integer pageSize);

    ResponseResult selectOne(Integer id);

    ResponseResult insertOne(Comment comment);

    ResponseResult deleteById(Integer id);

    ResponseResult updateOne(Comment comment);

    ResponseResult getCommentByHouseId(Long id);

    ResponseResult search(Integer pageNum, Integer pageSize, Integer userId, Integer houseId, String content);

    ResponseResult getFinishedComment(Long userId);
}

